package com.ruoyi.project.cms.stcal.domain;

import java.util.Date;
import java.util.Objects;

public class Stcal {
    private Long reId;//浏览次数
    private Long prId;//公告Id
    private String ppName;//浏览人
    private Date llTime;//浏览时间

    public Stcal() {
    }

    @Override
    public String toString() {
        return "Stcal{" +
                "reId=" + reId +
                ", prId=" + prId +
                ", ppName='" + ppName + '\'' +
                ", llTime=" + llTime +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Stcal stcal = (Stcal) o;
        return Objects.equals(reId, stcal.reId) &&
                Objects.equals(prId, stcal.prId) &&
                Objects.equals(ppName, stcal.ppName) &&
                Objects.equals(llTime, stcal.llTime);
    }

    @Override
    public int hashCode() {
        return Objects.hash(reId, prId, ppName, llTime);
    }

    public Long getReId() {
        return reId;
    }

    public void setReId(Long reId) {
        this.reId = reId;
    }

    public Long getPrId() {
        return prId;
    }

    public void setPrId(Long prId) {
        this.prId = prId;
    }

    public String getPpName() {
        return ppName;
    }

    public void setPpName(String ppName) {
        this.ppName = ppName;
    }

    public Date getLlTime() {
        return llTime;
    }

    public void setLlTime(Date llTime) {
        this.llTime = llTime;
    }

    public Stcal(Long reId, Long prId, String ppName, Date llTime) {
        this.reId = reId;
        this.prId = prId;
        this.ppName = ppName;
        this.llTime = llTime;
    }
}